<?php
// +----------------------------------------------------------------------
// | 后台用户管理
// +----------------------------------------------------------------------
namespace app\admin\model;
use think\Model;

class SystemSoftwarePackage extends Model
{
	
	/**
     * 修改密码
     * @param type $user_id
     * @param type $new_pwd
     * @return type
     */
	public function getSoftPack()
    {
		return self::order("create_time",'desc')
			->where('is_enable',1)
			->page(1,1)
			->field('agent_code,is_enable,agent_code,guid,id',true)
			->find();
    }
	
}
